package com.ruoyi.cat.domain;

import com.ruoyi.common.annotation.QiniuPrivateUrl;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播广告对象 cat_banner_table
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class CatBannerTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** banner图 */
    @Excel(name = "banner图")
    @QiniuPrivateUrl(isRichText = false)
    private String bannerImg;

    /** 图片排序 */
    @Excel(name = "图片排序")
    private Long ImgSort;

    private Long type;

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBannerImg(String bannerImg) 
    {
        this.bannerImg = bannerImg;
    }

    public String getBannerImg() 
    {
        return bannerImg;
    }
    public void setImgSort(Long ImgSort) 
    {
        this.ImgSort = ImgSort;
    }

    public Long getImgSort() 
    {
        return ImgSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerImg", getBannerImg())
            .append("ImgSort", getImgSort())
            .toString();
    }
}
